package com.t4.courseware.pojo;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.t4.courseware.pojo.enums.Gender;
import lombok.Data;

import java.io.Serializable;

@Data
public class User implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String nickname;

    private String username;

    private String password;

    @EnumValue
    private Gender gender;

    // 头像
    private String portrait;

    // 背景图片
    private String background;

    private String phoneNumber;

    private String openId;

    private String wxUnionId;


}